/**
 * Author: Daniel Michalski
 * Date: 28.02.13
 */

public class GenConstrDemo {
    public static void main(String[] args) {
        GenConstr test1 = new GenConstr(100);
        GenConstr test2 = new GenConstr(123.5F);
        GenConstr test3 = new GenConstr(123.5343423423423);

        test1.showVal();
        test2.showVal();
        test3.showVal();

        GenMethods testGenMethod = new GenMethods();

        System.out.println();

        System.out.println("czy 2 jest w tablicy? " +
                testGenMethod.isIn(2, new Integer[]{ 1, 5, 7 }));
        System.out.println("czy 'jeden' jest w tablicy? " +
                testGenMethod.isIn("jeden", new String[] { "jeden", "dwa", "trzy" }));

    }
}
